package com.lagou.servlet;

import com.lagou.bean.HttpRequest;
import com.lagou.bean.HttpResponse;

/**
 * servlet接口定义
 */
public interface Servlet {
    public void init() throws Exception;
    public void destory() throws Exception;
    public void service(HttpRequest request, HttpResponse response) throws Exception;
}
